package com.telecomyt.jwportal.activity.person.bean;

import java.util.List;

/**
 * @author created by chengDa
 * @time 2020/8/31  15:19
 * @description
 */
public class PersonInfoBean {


    /**
     * userId : 1453
     * name : 陶子元1
     * sex : 男
     * avatar : http://172.16.20.151:8081/ucenter/file//1596595823048.jpg
     * telephone : 13800000001
     * email :
     * status : 0
     * createTime : 2020-07-30T03:39:12.000+0000
     * updateTime : 2020-07-30T03:39:13.000+0000
     * userOrder : null
     * items : null
     * depts : [{"deptName":"爱联络","deptLevel":"0","deptOrder":0,"createTime":1579223943000,"deptPath":"爱联络","deptId":280,"tenantId":110,"updateTime":1579171315000,"parentId":0,"status":0}]
     * groups : null
     * inAuth : false
     */

    private int userId;
    private String name;
    private String sex;
    private String avatar;
    private String telephone;
    private String email;
    private int status;
    private String createTime;
    private String updateTime;
    private Object userOrder;
    private Object items;
    private Object groups;
    private boolean inAuth;
    private List<DeptsBean> depts;

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public Object getUserOrder() {
        return userOrder;
    }

    public void setUserOrder(Object userOrder) {
        this.userOrder = userOrder;
    }

    public Object getItems() {
        return items;
    }

    public void setItems(Object items) {
        this.items = items;
    }

    public Object getGroups() {
        return groups;
    }

    public void setGroups(Object groups) {
        this.groups = groups;
    }

    public boolean isInAuth() {
        return inAuth;
    }

    public void setInAuth(boolean inAuth) {
        this.inAuth = inAuth;
    }

    public List<DeptsBean> getDepts() {
        return depts;
    }

    public void setDepts(List<DeptsBean> depts) {
        this.depts = depts;
    }

    public static class DeptsBean {
        /**
         * deptName : 爱联络
         * deptLevel : 0
         * deptOrder : 0
         * createTime : 1579223943000
         * deptPath : 爱联络
         * deptId : 280
         * tenantId : 110
         * updateTime : 1579171315000
         * parentId : 0
         * status : 0
         */

        private String deptName;
        private String deptLevel;
        private int deptOrder;
        private long createTime;
        private String deptPath;
        private int deptId;
        private int tenantId;
        private long updateTime;
        private int parentId;
        private int status;

        public String getDeptName() {
            return deptName;
        }

        public void setDeptName(String deptName) {
            this.deptName = deptName;
        }

        public String getDeptLevel() {
            return deptLevel;
        }

        public void setDeptLevel(String deptLevel) {
            this.deptLevel = deptLevel;
        }

        public int getDeptOrder() {
            return deptOrder;
        }

        public void setDeptOrder(int deptOrder) {
            this.deptOrder = deptOrder;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public String getDeptPath() {
            return deptPath;
        }

        public void setDeptPath(String deptPath) {
            this.deptPath = deptPath;
        }

        public int getDeptId() {
            return deptId;
        }

        public void setDeptId(int deptId) {
            this.deptId = deptId;
        }

        public int getTenantId() {
            return tenantId;
        }

        public void setTenantId(int tenantId) {
            this.tenantId = tenantId;
        }

        public long getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(long updateTime) {
            this.updateTime = updateTime;
        }

        public int getParentId() {
            return parentId;
        }

        public void setParentId(int parentId) {
            this.parentId = parentId;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }
    }
}
